﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MBS_FoodBooking.Models
{
    public class ShoppingCartModel
    {
        private List<CartItem> lstShoppingCart;

        public List<CartItem> LstShoppingCart
        {
            get { return lstShoppingCart; }
            set { lstShoppingCart = value; }
        }

        private int bookingId;

        public int BookingId
        {
            get { return bookingId; }
            set { bookingId = value; }
        }

        private decimal price;

        public decimal Price
        {
            get { return price; }
            set { price = value; }
        }

        
    }

    public class CartItem
    {
        private int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        private string imgUrl;

        public string ImgUrl
        {
            get { return imgUrl; }
            set { imgUrl = value; }
        }
        private string itemName;

        public string ItemName
        {
            get { return itemName; }
            set { itemName = value; }
        }
        private int quantity;

        public int Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }

        private decimal itemPrice;

        public decimal ItemPrice
        {
            get { return itemPrice; }
            set { itemPrice = value; }
        }
    
    }

}